package cn.edu.zjgsu.ito.service;

import java.util.List;

import cn.edu.zjgsu.ito.model.TeacherModel;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;

public class TeaGradService extends Service {
	public List<Record> allTeaCourse() {
		try {
			List<Record> list=Db.find(TeacherModel.dao.selectTeaSql);

			return list;
		} catch (Exception e) {
			e.printStackTrace();
			return null;
		}

	}
	

}
